TARGET=test
TARGET2=HanConvert
OBJS1=test.o
OBJS2=HanConvert.o
CFLAGS=-Wall -g -O3 -DDEBUG
CC=gcc
all: $(TARGET) $(TARGET2)
$(TARGET): $(OBJS1)
	gcc $(CFLAGS) $^ -o $@
$(TARGET2): $(OBJS2)
	gcc $(CFLAGS) $^ -o $@
%.o%.o:
	gcc $(CFLAGS) -c -o $@ $<
.phony: clean
clean:
	rm -f *.o $(TARGET).exe $(TARGET2).exe
